package fr.gestschool.ressources;

import javax.faces.context.FacesContext;

import fr.gestschool.util.Utils;

public class MyBean {
	public String getWelcomeMessage() {
	FacesContext context = FacesContext.getCurrentInstance();
	String text = Utils.getMessageResourceString(context.getApplication().getMessageBundle(), "login", null,context.getViewRoot().getLocale());
	return text;
	}
	}